package tech.aistar.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import tech.aistar.pojo.PictureTable;
import tech.aistar.pojo.entity.HotSongList;


import java.util.List;
@Mapper
public interface Gedan {
    @Select("select * from picture_table")
    List<PictureTable> selectpicture();
    @Select("select * from picture_table where id=#{value}")
    List<PictureTable> selectbyid(Integer id);

    @Select("select * from hot_song_list")
    List<HotSongList> selectpicture1();
    @Select("select * from hot_song_list where id=#{value}")
    List<HotSongList> selectbyid1(Integer id);

}
